<? echo "<?xml version='1.0' ?>" ?>
<html xmlns:yamvc="yamvc.googlecode.com">
<head>
<?=$this->headScripts ?>
<?=$this->headMeta ?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
	#main{
		width:783px;
		padding-top: 30px;
	}
	#logo{
		float:left;
		width:214px;
	}
	#header{
		height: 59px;
	}
	#menu{
		float:right;
		text-align: left;
		width: 569px;
		background-image: url(<?=$this->getImagesPath()?>hr_bg.png);
		background-repeat: repeat-x;
		background-position: bottom;
		height: 44px;
	}
	ul.menu li{
		display: inline;
		width:100px;
		text-align: center;
		float:right;
		/*padding:0px,100px,0px,100px;*/
	}
	ul.menu a{
		font-size: 16px;
		font-family: "Trebuchet MS";
		text-decoration: none;
		color:#000000;
	}
	ul.menu{
		padding: 0px 0px 0px 299px;
		line-height: 65px;
		display:inline;
	}
	ul.menu a:hover{
		text-decoration: underline;
	}
	#banner{
		background-image: url("<?=$this->getImagesPath()?>banner.png");
		background-repeat:no-repeat;
		background-position:bottom;
		width: 783px;
		height: 146px;
		padding-top: 15px;
	}
	#centerBlock{
		padding-top: 15px;
	}
	div.modules{
		float:right;
		width:210px;
	}
	div.content{
		float:left;
		width: 522px;
		padding-left: 20px;
	}
	#middleBlock{
		padding-top: 20px;
	}
	div.post{
		text-align: left;
		margin-bottom: 30px;
	}
	div.postHeader{
		font-size: 24pt;
		font-weight: bold;
		font-family: "Trebuchet MS";
		background-position: 0px 33px;
		background-image: url("<?=$this->getImagesPath()?>post_head_line.png");
		background-repeat: no-repeat;
		text-align: left;
	}
	.postContent{
		font-family: "Trebuchet MS";
		text-align: justify;
		font-size: 14px;
	}
	a{
		text-decoration: none;
		color:#333333;
	}
	a:hover{
		text-decoration: underline;
	}
	
	.label{
		width: 50px;
		font-size: 12px;
		display: inline-table;
	}
	input{
		border: 1px solid #006633; 
	}
	.loginModule{
		border: 3px solid #006633;
		padding: 5px;
		text-align: left;
	}
</style>
<title>Yamvc1</title>
</head>
<body>
	<center>
		<div id="main">
			<div id="header">
				<div id="logo"><a href="<?=Application::getAppInstance()->getBaseDir()?>"><img src="<?=$this->getImagesPath()?>logo.png" /></a></div>
				<div id="menu">
					<ul class="menu">
						<li><a href="<?=$this->createUrl("About","About")?>">About</a></li>
						<li><a href="<?=$this->createUrl("Blog","Blog")?>">Blog</a></li>
						<li><a href="<?=$this->createUrl("Wiki","Wiki")?>">WiKi</a></li>
						<li><a href="<?=$this->createUrl("Api","Api")?>">API</a></li>
						<li><a href="<?=$this->createUrl("Downloads","Downloads")?>">Downloads</a></li>
					</ul>
				</div>
			</div>
			<div id="banner">
			</div>
			<div id="middleBlock"> 
				<div class="content"><!--
					<div class="post">
						<div class="postHeader">Blog Header</div>
						<div class="postContent">
					<p>First you have to understand that when Apache processes a HTTP request it does this in phases. A hook for each of these phases is provided by the Apache API. Mod_rewrite uses two of these hooks: the URL-to-filename translation hook which is used after the HTTP request has been read but before any authorization starts and the Fixup hook which is triggered after the authorization phases and after the per-directory config files (.htaccess) have been read, but before the content handler is activated.</p>

<p>So, after a request comes in and Apache has determined the corresponding server (or virtual server) the rewriting engine starts processing of all mod_rewrite directives from the per-server configuration in the URL-to-filename phase. A few steps later when the final data directories are found, the per-directory configuration directives of mod_rewrite are triggered in the Fixup phase. In both situations mod_rewrite rewrites URLs either to new URLs or to filenames, although there is no obvious distinction between them. This is a usage of the API which was not intended to be this way when the API was designed, but as of Apache 1.x this is the only way mod_rewrite can operate. To make this point more clear remember the following two points:</p>
						</div>
					</div>-->
					<?=$this->startPage ?>
				</div>
				<div class="modules"><?=$this->authPanel ?></div>
			</div>
		</div>
		<div id="ajaxConteiner" style="clear: both;"></div>
	</center>
</body>
</html> 